//
//  TempViewController.swift
//  Weibo
//
//  Created by 孙成宇 on 15/12/2.
//  Copyright © 2015年 mac. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
view.backgroundColor = UIColor.randomColor()


    }
    @objc private func back(){


navigationController?.popToRootViewControllerAnimated(true)

    }
    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
    let temp = TempViewController()
        navigationController?.pushViewController(temp ,
            animated: true)

    }


}
